/*
 * @(#)MtmCalendarRecordMeeting.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.calendar.bean;

import com.dcivision.framework.bean.AbstractBaseObject;


/**
  MtmCalendarRecordMeeting.java

  This class is the serializable bean reflecting business logic uses.

    @author           Jenny Li
    @company          DCIVision Limited
    @creation date    05/12/2003
    @version          $Revision: 1.5 $
*/

public class MtmCalendarRecordMeeting extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.5 $";

  static final long serialVersionUID = 5029924132601982976L;

  private Integer calendarRecordID = null;
  private Integer invitedID = null;
  private String invitedIDType = null;

  public MtmCalendarRecordMeeting() {
    super();
  }

  public Integer getCalendarRecordID() {
    return(this.calendarRecordID);
  }

  public void setCalendarRecordID(Integer calendarRecordID) {
    this.calendarRecordID = calendarRecordID;
  }

  public Integer getInvitedID() {
    return(this.invitedID);
  }

  public void setInvitedID(Integer invitedID) {
    this.invitedID = invitedID;
  }

  public String getInvitedIDType() {
    return(this.invitedIDType);
  }

  public void setInvitedIDType(String invitedIDType) {
    this.invitedIDType = invitedIDType;
  }

  public String toString() {
    return(this.getClass().getName() + "[id:" + toString(id) + "|calendarRecordID:" + toString(calendarRecordID) + "|invitedID:" + toString(invitedID) + "|invitedIDType:" + toString(invitedIDType) + "|creatorID:" + toString(creatorID) + "|createDate:" + toString(createDate) + "|updaterID:" + toString(updaterID) + "|updateDate:" + toString(updateDate) + "|creatorName:" + toString(creatorName) + "|updaterName:" + toString(updaterName) + "]");
  }

  public Object clone() {
    MtmCalendarRecordMeeting obj = new MtmCalendarRecordMeeting();
    obj.setID(this.getID());
    obj.setCalendarRecordID(this.getCalendarRecordID());
    obj.setInvitedID(this.getInvitedID());
    obj.setInvitedIDType(this.getInvitedIDType());
    obj.setCreatorID(this.getCreatorID());
    obj.setCreateDate(this.getCreateDate());
    obj.setUpdaterID(this.getUpdaterID());
    obj.setUpdateDate(this.getUpdateDate());
    obj.setCreatorName(this.getCreatorName());
    obj.setUpdaterName(this.getUpdaterName());
    return(obj);
  }

  public boolean equals(Object obj) {
    return(obj != null && obj.getClass().getName().equals(this.getClass().getName()) && ((AbstractBaseObject)obj).getID() != null && ((AbstractBaseObject)obj).getID().equals(this.getID()));
  }
}
